package com.preparation.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Post {

    private Integer id;

    private Integer userId;    //用户id

    private String title;       //帖子标题

    private String content;         //帖子内容

    private String images;         //帖子图片

    private Date publishedTime;        //发布时间

    private Integer viewCount;     // 浏览量

    private Integer commentCount;     //评论数

    private Integer likeCount;     //点赞数

    private Integer collectionCount;      //收藏数

    private Integer heat;       //热度

    private Integer isSticky;         //是否置顶   0正常   1置顶

    private Integer categoryId;

    private String status;



}
